<?php

class Mageex_RelatedProduct_Model_Mysql4_RelatedProduct extends Mage_Core_Model_Mysql4_Abstract
{
    public function _construct()
    {    
        // Note that the relatedproduct_id refers to the key field in your database table.
        $this->_init('relatedproduct/relatedproduct', 'id');
    }
}